﻿<phone:PhoneApplicationPage   
    x:Class="YiDingCanWp7.AddComment"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:toolkit="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls.Toolkit"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:local="clr-namespace:YiDingCanWp7"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    SupportedOrientations="Portrait" Orientation="Portrait"
    mc:Ignorable="d" d:DesignHeight="696" d:DesignWidth="480"
    shell:SystemTray.IsVisible="True">

    <!--LayoutRoot 是包含所有页面内容的根网格-->
    <Grid x:Name="LayoutRoot" Background="Transparent">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>

        <!--TitlePanel 包含应用程序的名称和页标题-->
        <StackPanel x:Name="TitlePanel" Grid.Row="0" Margin="12,17,0,28">
            <toolkit:PerformanceProgressBar x:Name="performanceProgressBar"  Foreground="Red" Background="Red" IsIndeterminate="False"/>
            <TextBlock x:Name="ApplicationTitle" Text="{StaticResource ApplicationName}" Style="{StaticResource PhoneTextNormalStyle}"/>
            <TextBlock x:Name="PageTitle" Text="增加点评" Margin="9,-7,0,0" Style="{StaticResource PhoneTextTitle1Style}"/>
        </StackPanel>
        <!--ContentPanel - 在此处放置其他内容-->
        <Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0">
            <Grid.RowDefinitions>
                <RowDefinition Height="106*"></RowDefinition>
                <RowDefinition Height="106*"></RowDefinition>
                <RowDefinition Height="106*"></RowDefinition>
                <RowDefinition Height="171*"></RowDefinition>
                <RowDefinition Height="42*"></RowDefinition>
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="104"></ColumnDefinition>
                <ColumnDefinition></ColumnDefinition>
            </Grid.ColumnDefinitions>
         
            <local:StarMark Name="deliverStarMark" Marked="5" Grid.Column="1" Grid.Row="0"/>
        <local:StarMark Name="tasteStarMark" Marked="5" Grid.Column="1" Grid.Row="1"/>
		 <local:StarMark Name="serviceStarMark" Marked="5" Grid.Column="1" Grid.Row="2"/>
            <TextBlock Grid.Column="0" Grid.Row="0" Text="配送速度：" HorizontalAlignment="Center" TextAlignment="Center" VerticalAlignment="Center" />
            <TextBlock  Grid.Column="0" Grid.Row="1" Text="口味：" VerticalAlignment="Center" HorizontalAlignment="Center" />
            <TextBlock Grid.Column="0" Grid.Row="2" Text="服务态度：" HorizontalAlignment="Center" VerticalAlignment="Center" />
            <TextBlock Grid.Column="0" Grid.Row="3" Text="评价内容：" VerticalAlignment="Center" HorizontalAlignment="Center" />
            <TextBox Grid.Column="1"  Grid.Row="3" Name="commenttextbox" />
        </Grid>
    </Grid>
 
    <!--演示 ApplicationBar 用法的示例代码-->
    <phone:PhoneApplicationPage.ApplicationBar>
        <shell:ApplicationBar IsVisible="True" IsMenuEnabled="False">
            <shell:ApplicationBarIconButton Click="ApplicationBarIconButton_Click"  IconUri="/Images/appbar.check.rest.png" Text="完成"/>
        </shell:ApplicationBar>
    </phone:PhoneApplicationPage.ApplicationBar>
</phone:PhoneApplicationPage>
